﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Domain.Models
{
    [DisplayName("字典表")]
    public class Dicts : BaseEntity
    {
        [DisplayName("字典ID")]
        public int Id { get; set; }

        [DisplayName("字典名称")]
        [StringLength(50)]
        public string Name { get; set; }

        [DisplayName("字典值")]
        [StringLength(2000)]
        public string Value { get; set; }

        [DisplayName("字典类型")]
        [StringLength(50)]
        public string Category { get; set; }
    }
}
